package com.dkm.ou.me.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:子系统 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:刘启辉
 * 创建时间:2015-01-17 09:29:58
 */
 @ITable(name="subSys",code="skg_ou_subsys")
public class SubSysTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*子系统 ID*/
	@IField(name="name",column="name_")
	protected String  name; 		/*系统名称*/
	@IField(name="key",column="key_")
	protected String  key; 		/*业务主键*/
	@IField(name="url",column="url_")
	protected String  url; 		/*系统默认地址*/
	@IField(name="desc",column="desc_")
	protected String  desc; 		/*系统说明*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建人*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="isSys",column="is_sys_")
	protected char  isSys; 		/*是否系统预设*/
	@IField(name="isActived",column="is_actived_")
	protected char  isActived; 		/*是否激活*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 子系统 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 系统名称
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setKey(String key) 
	{
		this.key = key;
	}
	/**
	 * 返回 业务主键
	 * @return
	 */
	public String getKey() 
	{
		return this.key;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}
	/**
	 * 返回 系统默认地址
	 * @return
	 */
	public String getUrl() 
	{
		return this.url;
	}
	public void setDesc(String desc) 
	{
		this.desc = desc;
	}
	/**
	 * 返回 系统说明
	 * @return
	 */
	public String getDesc() 
	{
		return this.desc;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建人
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setIsSys(char isSys) 
	{
		this.isSys = isSys;
	}
	/**
	 * 返回 是否系统预设
	 * @return
	 */
	public char getIsSys() 
	{
		return this.isSys;
	}
	public void setIsActived(char isActived) 
	{
		this.isActived = isActived;
	}
	/**
	 * 返回 是否激活
	 * @return
	 */
	public char getIsActived() 
	{
		return this.isActived;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("key", this.key) 
		.append("url", this.url) 
		.append("desc", this.desc) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.append("isSys", this.isSys) 
		.append("isActived", this.isActived) 
		.toString();
	}
}